package com.example.beautymakeup.service;


import com.example.beautymakeup.domain.PageBean;
import com.example.beautymakeup.domain.entry.LoginUser;
import com.example.beautymakeup.pojo.User;

public interface UserService {

    User getByOpenId(String openId);

    LoginUser getById(String token) throws Exception;

    boolean save(User user);

    int updateUser(String token,User user) throws Exception;

    PageBean<User> getUserAll(String token,int page,int size) throws Exception;

    boolean banByUId(String token,User user) throws Exception;
}
